package com.facotry.mapper;

import com.facotry.entity.worker;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * --- 代码敲烂 月薪过万 ---
 *
 * @author 崔瑜航
 * @date 2024/7/24
 * @desc
 */

public interface workerMapper {
    List<worker> findAllWorker(HashMap<String, String> map);

    boolean addworker(worker worker);

    boolean updateworker(worker worker);

    boolean del(int wId);

    boolean delBatch(List<String> ids);

    List<Map<String, Object>> getNum();

    void saveBatch(ArrayList<worker> list);
}
